package com.mbc.web.common.client.ui.control;

import com.google.gwt.user.client.ui.Button;

public class MButton extends Button {
	
	public void setAccessCode(String accessCode){
		this.getElement().setAttribute("data-ac", accessCode);
	}
	
	public void setTabindex(String tabindex){
		this.getElement().setAttribute("tabindex", tabindex);
	}
	
	public void setAccessKey(String accessKey){
		super.setAccessKey(accessKey.charAt(0));
	}
} 
